//
//  SearchShopViewController.h
//  OrderSeat
//
//  Created by 王威 on 13-12-22.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SearchShopDataSource;
@interface SearchShopViewController : BaseViewController<UITextFieldDelegate>

@property (strong, nonatomic) NSString *keyword;
@property (strong, nonatomic) IBOutlet UITextField *searchTF;
@property (strong, nonatomic) IBOutlet UITableView *shopTable;
@property (strong, nonatomic) SearchShopDataSource *dataSource;

- (id)initWithKeyword:(NSString *)keyword;

@end

@interface SearchShopDataSource : BaseDataSource<UITableViewDataSource,UITableViewDelegate>

@property (assign, nonatomic) int pageNumber;
@property (strong, nonatomic) NSMutableArray *shopList;
@property (strong, nonatomic) SearchShopViewController *viewController;

- (void)searchWithKeyWord:(NSString *)keyword isLoadMore:(BOOL)isLoadMore;

@end

